<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page isELIgnored="false" %>

<html>

    <head>
    <script language="JavaScript">
    setTimeout("history.go(0);",1000);
    </script>
    </head>

  <body>
  <p>Message Board (010-2314-6538, C, R, U, D + R)</p>
  
  <table>
    <c:forEach var="message" items="${messageList}">
        <tr>
        	<td>${message.name}</td>
        	<td>${message.phoneNumber}</td>
        	<td>${message.content}</td>
        	<td>${message.date}</td>
       	</tr>
    </c:forEach>
</table>
  
  </body>
</html>